/**
 * 导入导出js文件
 * @author    xiaogq
 */

//导出成功弹窗下载模态框
function exportAlert(title,text){
    var moduls = '<div class="modal-dialog">';
            moduls += '<div class="modal-content">';
                moduls += '<div class="modal-header">';
                    moduls += '<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>';
                    moduls += '<h4 class="modal-title" id="myModalLabel">'+title+'</h4>'
                moduls += '</div>';
            moduls += '<div class="modal-body">';
                moduls += text;
            moduls += '</div>';
            moduls += '<div class="modal-footer">';
                moduls += '<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>';
            moduls += '</div>';
        moduls += '</div>';
    moduls += '</div>';
    $("#exportModal").empty();
    $("#exportModal").append(moduls);
    $('#exportModal').modal('show');
}
